home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
e
/
misc.txt
/
000074_fdc@panix.com_Thu Feb 15 12:23:46 2007.msg
< prev
next >
Wrap
Internet Message Format
|
2018-01-01
|
3KB
Path: reader2.panix.com!panix!not-for-mail
From: Frank da Cruz <fdc@panix.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSL Solaris 9 compile errors
Date: Thu, 15 Feb 2007 17:22:53 +0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 52
Message-ID: <slrnet95nd.1b6.fdc@panix2.panix.com>
References: <1171461754.452734.293090@a75g2000cwd.googlegroups.com> <slrnet6bnr.t17.fdc@panix1.panix.com> <1171474573.115000.277200@v45g2000cwv.googlegroups.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: panix2.panix.com
X-Trace: reader2.panix.com 1171560173 17884 166.84.1.2 (15 Feb 2007 17:22:53 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Thu, 15 Feb 2007 17:22:53 +0000 (UTC)
User-Agent: slrn/0.9.8.0 (NetBSD)
Xref: panix comp.protocols.kermit.misc:15645
On 2007-02-14, Gary Quiring <gquiring@gmail.com> wrote:
: On Feb 14, 10:47 am, Frank da Cruz <f...@panix.com> wrote:
:> On 2007-02-14, Gary Quiring <gquir...@gmail.com> wrote:
:> : I am trying to compile kermit 8.0.211 with Solaris 9 (Sparc). My
:> : openssl ver is 0.9.8d
:> :
:> : Makeline: make solaris9g+openssl+shadow+pam+zlib
:> :...
:> : /usr/local/ssl/include/openssl/rsa.h:336: error: parse error before
:> : numeric constant
:> :
:> Like it says in the makefile in the comments on that makefile target:
:>
:> #Add -DOPENSSL_097 for OpenSSL 0.9.7 or later.
:>
:> So use:
:>
:> make solaris9g+openssl+shadow+pam+zlib KFLAGS=-DOPENSSL_097
:>
:> If somebody knows a way to get the OpenSSL version number from the shell
:> command line, we could have the makefile figure this out automatically.
:>
:> - Frank
:
: I tried the above make line but I get the exact same error.
:
I have Solaris 9 here, with OpenSSL 0.9.8d, and "It Works For Me" (TM).
To build C-Kermit with OpenSSL, you need to use one of the appropriate
makefile targets (which you did), plus:
. If the OpenSSL version is 0.9.7 or greater (a point where the API
changed), you have to add -DOPENSSL_097 to CFLAGS (which can be
done as shown above);
. If the OpenSSL header files are not in /usr/local/ssl/include, you
have to change or override the definitions of "prefix" or "sslroot"
or SSLINCL in the makefile.
. If the OpenSSL libraries are not in /usr/local/ssl/lib, you
have to change or override the definitions of "prefix" or "sslroot"
or SSLLIB in the makefile.
At Columbia, we have to do all these things, because around here (or maybe in
Solaris in general) "/usr/local" is "deprecated": Here is the procedure:
export SSLINC=-I/opt/openssl-0.9.8d/include
export SSLLIB=-L/opt/openssl-0.9.8d/lib
export "KFLAGS=-DOPENSSL_097 -DCK_FORWARD_X -D_FILE_OFFSET_BITS=64"
make -e solaris9g+openssl+shadow+pam+zlib
- Frank